<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改乡统计信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-townStatistics-edit" th:object="${townStatistics}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">乡ID：</label>
                <div class="col-sm-8">
                    <input name="townId" th:field="*{townId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">县ID：</label>
                <div class="col-sm-8">
                    <input name="countyId" th:field="*{countyId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">精准确村确户数：</label>
                <div class="col-sm-8">
                    <input name="accurateNum" th:field="*{accurateNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">常住人口户数：</label>
                <div class="col-sm-8">
                    <input name="householdsNum" th:field="*{householdsNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">洁净煤取暖户数：</label>
                <div class="col-sm-8">
                    <input name="cleanCoalNum" th:field="*{cleanCoalNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">洁净煤未入户数：</label>
                <div class="col-sm-8">
                    <input name="notCleanCoalNum" th:field="*{notCleanCoalNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">采用其他方式取暖户数：</label>
                <div class="col-sm-8">
                    <input name="otherWarmNum" th:field="*{otherWarmNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">冬季不取暖户数：</label>
                <div class="col-sm-8">
                    <input name="notWarmNum" th:field="*{notWarmNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">生物质取暖户数：</label>
                <div class="col-sm-8">
                    <input name="biomassWarmNum" th:field="*{biomassWarmNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">乡镇包联人数：</label>
                <div class="col-sm-8">
                    <input name="townBlNum" th:field="*{townBlNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">包联村数：</label>
                <div class="col-sm-8">
                    <input name="townBlVillageNum" th:field="*{townBlVillageNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">村级包联人数：</label>
                <div class="col-sm-8">
                    <input name="villageBlNum" th:field="*{villageBlNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">村级包联户数：</label>
                <div class="col-sm-8">
                    <input name="villageBlHouseNum" th:field="*{villageBlHouseNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">总购洁净煤数：</label>
                <div class="col-sm-8">
                    <input name="totalBuyNum" th:field="*{totalBuyNum}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "jjm/townStatistics";
        $("#form-townStatistics-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-townStatistics-edit').serialize());
            }
        }
    </script>
</body>
</html>